<template>
	<view class="mainBox">
		<uni-section class="mb-10" title="服务协议" type="line"></uni-section>
		<uni-card :is-shadow="true">
			<text class="uni-body">这是一个基础卡片示例，内容较少，此示例展示了一个没有任何属性不带阴影的卡片。</text>
		</uni-card>
		<view class="fbtn">
			<uni-goods-nav :options='options' @buttonClick="buttonClick" :buttonGroup="buttonGroup" />
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				options: [],
				buttonGroup: [{
					text: '我已阅读并同意',
					backgroundColor: '#2979ff',
					color: '#fff'
				}],
			}
		},
		onLoad() {

		},
		methods: {
			buttonClick() {
				uni.navigateTo({
					url: '/pages/index/table'
				})
			}
		}
	}
</script>

<style lang="scss">
	.fbtn {
		width: 100%;
		line-height: 100rpx;
		position: fixed;
		bottom: 0;
		left: -10rpx;
	}
</style>